<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<!--<ul class="nav nav-tabs">-->
			<!--<li class="active"><a href="{:U('Admin/LiveCompetitor/index')}">选手列表</a></li>-->
			<!--<li><a href="{:U('Admin/LiveCompetitor/add')}">添加选手</a></li>-->
		<!--</ul>-->
		<form class="well form-search" id="query_form" method="post" action="{:U('Admin/LiveCompetitor/index')}">
		    起始：
			<input type="text" name="start_time" class="js-datetime"  value="" autocomplete="off">
			结束：
			<input type="text" name="end_time" class="js-datetime"  value="" autocomplete="off">
			手机号：
			<input type="text" name="phone" style="width: 120px;" value="{$formParam.nickname}" placeholder="请输入手机号">
			昵称：
			<input type="text" name="nickname" style="width: 120px;" value="{$formParam.nickname}" placeholder="请输入昵称">
			道具数量：
			<input type="text" name="start_num" style="width: 120px;" value="{$formParam.nickname}" >~
			<input type="text" name="end_num" style="width: 120px;" value="{$formParam.nickname}">
			人气值：
			<input type="text" name="start_value" style="width: 120px;" value="{$formParam.nickname}" >~
			<input type="text" name="end_value" style="width: 120px;" value="{$formParam.nickname}">
			<input type="hidden" name="competitor_id" value="{$competitor_id}">
			<input type="button" name="query_form_btn" id="queryBtn" data-action="{:U('Admin/LiveCompetitor/prop_info')}" class="btn btn-primary" value="查询" />
		</form>
		<form class="js-ajax-form" action="" method="post">
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
				    <th>ID</th>
					<th>打赏时间</th>
					<th>手机号</th>
					<th>昵称</th>
					<th>打赏道具</th>
					<th>道具数量</th>
					<th>汇闻币</th>
					<th>人气值</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo" key="keys">
				<tr>
				    <td>{$keys}</td>
					<td>{$vo.create_time}</td>
					<td>{$vo.mobile_phone}</td>
					<td>{$vo.nickname}</td>
					<td>{$vo.name}</a></td>
					<td>{$vo.prop_cnt}</td>
					<td>{$vo.amount}</td>
					<td>{$vo.sentiment_value}</td>
					<td>
					    <a href="{:U('Admin/User/moremany',array('user_id'=>$vo['user_id']))}" >查看详情</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		</form>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js"></script>
	<script>
	$(document).ready(function(){
		$('input[name="query_form_btn"]').click(function(){
			 $('#query_form').attr('action', $(this).attr('data-action'));
			 $('#query_form').submit();
		});
		var clip = new ZeroClipboard($("td .link_url"));
		clip.on("aftercopy", function(e){
		    alert('复制成功！');
		});
	});
	
	</script>
</body>
</html>